﻿using System;
using FirebirdSql.Data.FirebirdClient;
using Csla;
using System.Collections;
using System.Collections.Generic;
using System.Data;

namespace RMSM
{
    [Serializable()]
    public class SoLuongHDBOCollection : Csla.BusinessListBase<SoLuongHDBOCollection, SoLuongHDBO>
    {
        #region BindingList Overrides
        protected override object AddNewCore()
        {
            SoLuongHDBO _SoLuongHDBO = SoLuongHDBO.NewChildSoLuongHDBO();
            OnAddingNew(new System.ComponentModel.AddingNewEventArgs(_SoLuongHDBO));

            Add(_SoLuongHDBO);
            return _SoLuongHDBO;
        }
        #endregion BindingList Overrides
        //==========================================================================

        #region Factory Methods
        private SoLuongHDBOCollection()
        {
        }

        public static SoLuongHDBOCollection NewSoLuongHDBOCollection()
        {
            return new SoLuongHDBOCollection();
        }

        public static SoLuongHDBO NewSoLuongHDBO()
        {
            return SoLuongHDBO.NewChildSoLuongHDBO();
        }
        #endregion Factory Methods
        //==========================================================================

        #region Criteria
        [Serializable()]
        private class Criteria
        {
            public Criteria()
            {
            }
        }

        [Serializable()]
        public class FilterCriteria
        {
            public FilterCriteria()
            {
            }
        }
        #endregion Criteria
        //==========================================================================

        #region Fetch
        [Transactional(TransactionalTypes.TransactionScope)]
        private void DataPortal_Fetch(SPParam spParam)
        {
        }
        #endregion Fetch
        //==========================================================================

        #region Update
        [Transactional(TransactionalTypes.TransactionScope)]
        protected override void DataPortal_Update()
        {
            Update();
        }

        internal void Update()
        {
        }
        #endregion Update
        //==========================================================================

        #region Business Method
        #endregion Business Method
        //==========================================================================
    }
}